<?php
namespace BP\En;
class GETrees extends EntitiesNoName {
	public $SFTable;	// String
	public $Desc;	// String
	private function __init() { // default class members
		$this->SFTable = NULL;
		$this->Desc = NULL;
	}
	public static function constructor__ () 
	{
		$me = new self();
		$me->__init();
		return $me;
	}
	public static function constructor__String_String ($sftable, $tableDesc) // [String sftable, String tableDesc]
	{
		$me = new self();
		$me->__init();
		$me->SFTable = $sftable;
		$me->Desc = $tableDesc;
		return $me;
	}
	public function getNewEntity () 
	{
		return GETree::constructor__String_String($this->SFTable, $this->Desc);
	}
	public function RetrieveAll () 
	{
		return $this->RetrieveAllFromDBSource();
	}
	public function ToJavaList () 
	{
		return $this;
	}
	public function Tolist () 
	{
		$list = [];// 
		for ($i = 0; ($i < $this->size()); ++$i) 
		{
			$list->add($this->get($i));
		}
		return $list;
	}
}
?>
